<template>
	
	<view class="b-block" v-if="comIsDiy && !createdType">
	     <image :src="mpconfig.mp_gs_logo" mode=""></image>
	     <div class="b-componey">
	          <h3>{{mpconfig.mp_gs_name}}</h3>
	          <div class="qiye">{{mpconfig.mp_gs_field}}</div>
	     </div>
	</view>
	<view class="b-block" v-else>
	     <image :src="qiyexx.logo" mode=""></image>
	     <div class="b-componey">
	          <h3>{{qiyexx.name}}</h3>
	          <div class="qiye">{{qiyexx.type_name}}</div>
	     </div>
	</view>
</template>

<script>
	export default{
		props:["comIsDiy","createdType","imgHost","qiyexx","mpconfig"],
		mounted(){
		}
	}
</script>

<style lang="scss" scoped>
	.b-block {
	     margin-top: 40rpx;
	     // display: flex;
	     align-items: center;
	
	     image {
	          width: 96rpx;
	          height: 96rpx;
	     }
	
	     .b-componey {
	          margin-left: 20rpx;
	          // display: inline-block;
	
	          h3 {
	               font-weight: 600;
	               font-size: 32rpx;
	               text-align: left;
	               color: #161616;
	               position: relative;
	               top: -10rpx;
	          }
	
	          .qiye {
	               margin-top: 16rpx;
	               font-weight: 400;
	               font-size: 22rpx;
	               text-align: left;
	               color: #a0a0a0;
	          }
	     }
	}
</style>